<div class="bjui-pageContent">
    <form action="{:url('Group/add')}" class="pageForm" data-toggle="validate" method="post">
        <div class="pageFormContent" data-layout-h="0">
            <table class="table-bordered table-condensed" width="100%">
                <tbody>
                <tr>
                    <td style="padding:5px 0px;">
                        <label for="j_title" class="control-label x85">群组名称：</label>
                        <input type="text" name="title" id="j_title" value="" data-rule="required;title;remote[{:url('Group/same')}]" size="40">
                    </td>
                </tr>
                <tr>
                    <td style="padding:5px 0px;height:35px;">
                        <label for="" class="control-label x85">可用状态：</label>
                        <input type="radio" name="status" id="j_status1" data-toggle="icheck" value="1" checked data-label="正常&nbsp;&nbsp;">
                        <input type="radio" name="status" id="j_status2" data-toggle="icheck" value="0" data-label="禁用">
                    </td>
                </tr>
                <tr>
                    <td style="padding:5px 0px;height:35px;">
                        <label for="j_rule" class="control-label x85">权限分配：</label>
                        <input type="checkbox" id="j_rules" class="checkboxCtrl" data-group="rules[]" data-toggle="icheck" data-label="赋予全部权限">
                    </td>
                </tr>
                </tbody>
            </table>
            <br/>
            {volist name="rArr" id="row1" key="k1"}
            <fieldset>
                <legend style="font-weight:bold;">{$key}</legend>
                <div style="padding:5px 10px;color:#555;font-weight:normal;">
                    {volist name="row1" id="row" key="k"}
                    <div style="margin:2px;padding:2px;border:1px #FF6F20 dotted;width:120px;float:left;">
                        <input type="checkbox" name="rules[]" id="j_rules_{$k1}_{$k}" data-toggle="icheck" value="{$row.id}" data-label="{$row.title}">
                    </div>
                    {/volist}
                </div>
            </fieldset>
            {/volist}
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="undo">取消</button></li>
        <li><button type="submit" class="btn-green" data-icon="save">保存</button></li>
    </ul>
</div>